<div id="container">
<div class="eventos form">
    
  <h1>Cadastrar Novo Eventos</h1>

<h4>Não perca tempo é totalmente gratuito, basta preencher o formulário abaixo: É bem fácil.</h4> 
	
	
<?php echo $this->Form->create('Evento',array('type'=>'file')); ?>
	<fieldset>
		<legend><?php echo __('Add Evento'); ?></legend>
      	<?php
      
		echo $this->Form->input('nomeEvento',array('size' => '34','label' => 'Nome do evento:<br>')); 
		echo $this->Form->input('dataEvento',array('label' => 'Data :*<br>','dateFormat'=>'DMY',
                     'minYear'=>date('Y')-70,
                     'maxYear'=> date('Y')-18));           
                 echo $this->Form->input('horarioEvento',array('label' => 'Horario :*<br>','timeFormat'=>'24',
                     ));
		echo $this->Form->input('localEvento',array('size' => '34','label' => 'Local :<br>'));
		echo $this->Form->input('telefoneEvento',array('size' => '11','label' => 'Telefone p/ Contato:<br>'));
		echo $this->Form->input('enderecoEvento',array('size' => '34','label' => 'Endereco :<br>'));
                echo $this->Form->input('cidadeEvento', array('size' => '1','label' => 'Cidade :<br>','options' => array('Joao Monlevade'=>'Joao Monlevade', 'Ipatinga '=>'Ipatinga','Itabira'=>'Itabira','Belo Horizonte'=>'Belo Horizonte')));
		echo $this->Form->input('estadoEvento', array('size' => '1','label' => 'Estado :<br>','options' => array('MG'=>'MG', 'RJ'=>'RJ','SP'=>'SP','RO'=>'RO')));
                echo $this->Form->input('tipoEvento', array('size' => '1','label' => 'Genero :<br>','options' => array('Balada'=>'Balada', 'Rodeio'=>'Rodeio','Micareta'=>'Micareta','Show'=>'Show')));
                echo $this->Form->input('estadoEvento :<br>', array('options' => array('MG', 'RJ','SP','Ro')));
                echo $this->Form->input('precoEvento',array('size' => '12','label' => 'Valor ingresso R$ :<br>'));
		echo $this->Form->input('bandasEvento',array('size' => '40','label' => 'Atrações :<br>'));
		echo $this->Form->input('descricao',array('cols' => '118','label' => 'Descrição :<br>'));
	                            
                $nome=$this->Session->read('Auth.User.username');
                //echo $this->Form->input('usuario_Nome',array('size' => '1','label' => 'Promoter : ','options' => array($nome=>$nome)));   
	              
                $teste=$this->Session->read('Auth.User.email');
                //echo $this->Form->input('usuario_Email',array('size' => '1','label' => 'Email Promoter : ','options' => array($teste=>$teste)));
	
                $idpromoter = $this->Session->read('Auth.User.id');
                
                //echo $this->Form->input('usuario_Id',array('label' => 'Id Promoter : ','options' => array($this->Session->read('Auth.User.id')=>$this->Session->read('Auth.User.id'))));
	        echo $this->Form->input('filename', array('label' => 'Flyer do Evento : ','type' => 'file')    );
                echo $this->Form->input('dir', array('type' => 'hidden'));
           
                echo $this->Form->submit('Enviar',array('div' => True,'class'=>'botao'));
                ?>
    	</fieldset>
    <table>
    <tr><td colspan="3">Informações do Promoter</td></tr>
    <tr><td width="7%">Código</td><td>Nome:</td><td>E-mail:</td></tr>
    <tr><td width="7%"><?php echo $this->Form->input('usuario_Id',array('label' => '','options' => array($this->Session->read('Auth.User.id')=>$this->Session->read('Auth.User.id'))));?></td><td><?php echo $this->Form->input('usuario_Nome',array('size' => '1','label' => '','options' => array($nome=>$nome)));?> </td><td> <?php  echo $this->Form->input('usuario_Email',array('size' => '1','label' => '','options' => array($teste=>$teste)));?></td></tr>
    </table>

    


</div>

</div>
